<?xml version="1.0" encoding="utf-8"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:blueonionsoftware-com:bloget:runtime:data">
  <text>Something I didn't know. You can specify multiline strings in C# using the verbatim literal character. 
&lt;pre&gt;
string multiline = @&amp;quot;Line 1
Line 2
Line 3&amp;quot;;
&lt;/pre&gt;

The characters between the quotation marks, including white space such as new line characters,  are preserved verbatim.

More fun facts...

Each string literal does not necessarily result in a new string instance. When two or more string literals that are equivalent according to the string equality operator (Section 7.9.7) appear in the same assembly, these string literals refer to the same string instance. For instance, the output produced by

&lt;pre&gt;class Test
{
   static void Main() {
      object a = &amp;quot;hello&amp;quot;;
      object b = &amp;quot;hello&amp;quot;;
      System.Console.WriteLine(a == b);
   }
}&lt;/pre&gt;

is &lt;strong&gt;True &lt;/strong&gt;because the two literals refer to the same string instance.
</text>
  <last_update>2007-10-04T00:52:31.4000806Z</last_update>
  <source_title />
  <source_link />
  <comments />
  <references />
  <attachments />
</Content>